def assertion_ihrm(res, exp1, exp2, exp3,exp4):
    assert res.status_code == exp4
    assert res.json().get("success") == exp1
    assert res.json().get("code") == exp2
    assert exp3 in res.json().get("message")


def assertion_tpshop(res, exp1, exp2, exp3):
    assert res.status_code == exp1
    assert res.json().get("status") == exp2
    assert exp3 in res.json().get("msg")


